package jnpf.service;

import jnpf.mapper.DeleteMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeleteService {

    @Autowired
    private DeleteMapper deleteMapper;

    public boolean deleteMeeting(String id) {
        int result = deleteMapper.deleteMeeting(id);
        boolean flag = false;
        if (result == 1) {
            flag = true;
        }
        return flag;
    }
}
